package com.ruoyi.dr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 寄样对象 dr_sampledata
 * 
 * @author ruoyi
 * @date 2025-07-14
 */
public class DrSampledata extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 寄样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy/MM/dd")
    private Date time;

    /** 达人名称 */
    @Excel(name = "抖音名称")
    private String name;

    /** 抖音号 */
    @Excel(name = "抖音号")
    private String awemeId;

    /** UID信息 */
    @Excel(name = "uid")
    private String uid;

    /** 姓名、手机号、地址信息 */
    @Excel(name = "地址")
    private String address;


    /** 商品 */
    @Excel(name = "样品")
    private String product;

    /** 商品id */
//    @Excel(name = "商品id")
    private String productId;

    /** 下次催品时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "下次催品时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryTime;

    /** 是否完成（1：是   2：否） */
    @Excel(name = "是否完成")
    private String done;

    /** 快递单号 */
    @Excel(name = "单号")
    private String expressDeliveryName;

    /** 快递单号 */
    @Excel(name = "单号状态")
    private String expressDeliveryStatus;

    /** 寄样次数（第二次就是补样） */
    @Excel(name = "寄样次数", readConverterExp = "第=二次就是补样")
    private Integer num;

    /** 寄样人 */
    @Excel(name = "寄样人")
    private String applicant;

    /** 寄样（公司）名称 */
    @Excel(name = "寄样", readConverterExp = "公司")
    private String company;

    /** 催交付的次数 */
    @Excel(name = "催作业次数")
    private Integer urgeDelivery;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 归属团 */
    @Excel(name = "归属团")
    private String tzOwner;

    private Object[] awemeIdArray;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAwemeId(String awemeId) 
    {
        this.awemeId = awemeId;
    }

    public String getAwemeId() 
    {
        return awemeId;
    }

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }

    public void setDeliveryTime(Date deliveryTime) 
    {
        this.deliveryTime = deliveryTime;
    }

    public Date getDeliveryTime() 
    {
        return deliveryTime;
    }

    public void setDone(String done) 
    {
        this.done = done;
    }

    public String getDone() 
    {
        return done;
    }

    public void setExpressDeliveryName(String expressDeliveryName) 
    {
        this.expressDeliveryName = expressDeliveryName;
    }

    public String getExpressDeliveryName() 
    {
        return expressDeliveryName;
    }

    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }

    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getApplicant() 
    {
        return applicant;
    }

    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }

    public void setUrgeDelivery(Integer urgeDelivery) 
    {
        this.urgeDelivery = urgeDelivery;
    }

    public Integer getUrgeDelivery() 
    {
        return urgeDelivery;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setTzOwner(String tzOwner) 
    {
        this.tzOwner = tzOwner;
    }

    public String getTzOwner() 
    {
        return tzOwner;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getExpressDeliveryStatus() {
        return expressDeliveryStatus;
    }

    public void setExpressDeliveryStatus(String expressDeliveryStatus) {
        this.expressDeliveryStatus = expressDeliveryStatus;
    }

    public Object[] getAwemeIdArray() {
        return awemeIdArray;
    }

    public void setAwemeIdArray(Object[] awemeIdArray) {
        this.awemeIdArray = awemeIdArray;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("time", getTime())
            .append("name", getName())
            .append("awemeId", getAwemeId())
            .append("uid", getUid())
            .append("address", getAddress())
            .append("productId", getProductId())
            .append("deliveryTime", getDeliveryTime())
            .append("done", getDone())
            .append("expressDeliveryName", getExpressDeliveryName())
            .append("num", getNum())
            .append("applicant", getApplicant())
            .append("company", getCompany())
            .append("urgeDelivery", getUrgeDelivery())
            .append("remarks", getRemarks())
            .append("tzOwner", getTzOwner())
            .toString();
    }
}
